package com.zhang.common.service.impl;

import cn.dev33.satoken.stp.StpUtil;
import com.zhang.common.service.ILikeService;
import com.zhang.common.util.redis.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LikeServiceImpl implements ILikeService {
    @Autowired
    RedisUtil redisUtil;

    private String likePath="like";

    @Override
    public void addLike(String categoryId) {
//查询用户的已经有多少条记录
        String userId = StpUtil.getLoginIdAsString();

    }
}
